convert comma separated string to array c#

54

C#: convert array of integers to comma separated string -

var result = string.Join(",", arr);

javascript split string into array by comma and space -

input.split(/[ ,]+/); //splits string using RegEx on a space OR a comma

Comments

Submit
0 Comments